home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / x00v109c.zip / FOSSIL.CHT < prev    next >
Text File  |  1988-02-11  |  39KB  |  354 lines

  1. FOSSIL Function Chart,  Version 5,  February 11,  1988                                                     Page 1
  2. Copyright (C) 1987, VEP Software, Naugatuck, CT 06770. All rights reserved.
  3. Copyright (C) 1988, Rick Moore,  Homewood,  IL, 60430. All rights reserved.
  4. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  5. | Code  |   Function    |  Function Parameters  |  Returned by Function | Explanation                           |
  6. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  7. |       |               |                       |                       |                                       |
  8. |  00h  | Set BaudRate  | AL = Baud/Parity/SB   | AX = Status bits      | BaudRate code in AL:                  |
  9. |       |               | DX = Port number      | (See function 03h)    | Bits [7:5] 000 = 19200, 001 = 38400,  |
  10. |       |               |     (NOP if DX=00FFh) |                       | 010 = 300, 011 = 600, 100 = 1200,     |
  11. |       |               |                       |                       | 101 = 2400, 110 = 4800, 111 = 9600.   |
  12. |       |               |                       |                       | Parity: [4:3] 00 or 10 = none,        |
  13. |       |               |                       |                       | 01 = odd, 11 = even.                  |
  14. |       |               |                       |                       | StopBits: [2:2] 0 = 1, 1 = 2          |
  15. |       |               |                       |                       | CharLength: 5 bits plus value [1:0]   |
  16. |       |               |                       |                       | Support for [4:0] = 00011 required of |
  17. |       |               |                       |                       | driver, others optional               |
  18. |       |               |                       |                       |                                       |
  19. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  20. |       |               |                       |                       |                                       |
  21. |  01h  | Transmit      | AL = Character        | AX = Status bits      | Character is queued for transmission. |
  22. |       | character     | DX = Port number      | (See function 03h)    | If there is room in the transmitter   |
  23. |       | (wait for     |     (NOP if DX=00FFh) |                       | buffer when this call is made, the    |
  24. |       |  room in the  |                       |                       | character will be stored and control  |
  25. |       |  buffer)      |                       |                       | returned to caller. If the buffer is  |
  26. |       |               |                       |                       | full, the driver will wait for room.  |
  27. |       |               |                       |                       | This can be dangerous when used in    |
  28. |       |               |                       |                       | combination with flow control (see    |
  29. |       |               |                       |                       | Function 0Fh)                         |
  30. |       |               |                       |                       |                                       |
  31. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  32. |       |               |                       |                       |                                       |
  33. |  02h  | Receive       | DX = Port number      | AH = 00h              | The next character in the input ring  |
  34. |       | character     |     (NOP if DX=00FFh) | AL = Input character  | buffer is returned to the caller. If  |
  35. |       | (wait for     |                       |                       | none available, the driver will wait  |
  36. |       | available)    |                       |                       | for input.                            |
  37. |       |               |                       |                       |                                       |
  38. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  39. |       |               |                       |                       |                                       |
  40. |  03h  | StatusRequest | DX = Port number      | AX = Status bits      | Bits are:                             |
  41. |       |               |     (NOP if DX=00FFh) |                       | AH[6:6] 1 = Output buffer empty       |
  42. |       |               |                       |                       | AH[5:5] 1 = Output buffer not full    |
  43. |       |               |                       |                       | AH[1:1] 1 = Input buffer overrun      |
  44. |       |               |                       |                       | AH[0:0] 1 = Characters in input buffer|
  45. |       |               |                       |                       | AL[7:7] 1 = Carrier Detect signal     |
  46. |       |               |                       |                       | AL[3:3] 1 = Always (never 0)          |
  47. |       |               |                       |                       |                                       |
  48. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  49. |       |               |                       |                       |                                       |
  50. |  04h  | Initialize    | DX = Port number      | AX = 1954h (success)  | Required before I/O can take place on |
  51. |       | driver (port) |    (DX=00FFh special) | BL = Max function     | comm port.  When DX = 00FFh,  then    |
  52. |       |               |                       |      supported,  not  | any initialization needed to make the |
  53. |       |               |                       |      incl. 7Eh - BFh  | keyboard/display available for FOSSIL |
  54. |       |               | {BX = 4F50H           | BH = FOSSIL revision  | use should be performed.  BX = 4F50h  |
  55. |       |               |  ES:CX = ^C flag byte}|      level of driver  | signals that ES:CX points to a flag   |
  56. |       |               |    (Optional)         |                       | byte in the application that the      |
  57. |       |               |                       | DTR raised on port    | driver should increment when its      |
  58. |       |               |                       | BaudRate preserved    | keyboard routines detect a Ctl-C.     |
  59. |       |               |                       |                       |                                       |
  60. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  61.  
  62. FOSSIL Function Chart,  Version 5,  February 11,  1988                                                     Page 2
  63. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  64. | Code  |   Function    |  Function Parameters  |  Returned by Function | Explanation                           |
  65. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  66. |       |               |                       |                       |                                       |
  67. |  05h  | Deinitialize  | DX = Port number      | None                  | Disengages driver from comm port.     |
  68. |       | driver (port) |    (DX=00FFh special) |                       | Should be done when operations on the |
  69. |       |               |                       | DTR not changed       | port are complete.  IF DX = 00FFh,    |
  70. |       |               |                       |                       | then the initialization that was      |
  71. |       |               |                       |                       | performed when FOSSIL function 04h    |
  72. |       |               |                       |                       | with DX = 00FFh should be undone.     |
  73. |       |               |                       |                       |                                       |
  74. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  75. |       |               |                       |                       |                                       |
  76. |  06h  | Raise/lower   | AL = 01h - Raise DTR  | None                  | Used to control Data Terminal Ready   |
  77. |       |     DTR       |    = 00h - Lower DTR  |                       | signal line on com port. This line    |
  78. |       |               | DX = Port number      | DTR TRUE  if AL = 01h | usually has some effect on modem      |
  79. |       |               |     (NOP if DX=00FFh) |     FALSE if AL = 00h | operation (most modems will drop      |
  80. |       |               |                       |                       | carrier if DTR is lowered, for        |
  81. |       |               |                       |                       | example).                             |
  82. |       |               |                       |                       |                                       |
  83. |       |               |                       |                       |                                       |
  84. |       |               |                       |                       |                                       |
  85. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  86. |       |               |                       |                       |                                       |
  87. |  07h  | Return system | None                  | AL = timer tick       | Returns statistics needed to do some  |
  88. |       | timer params  |                       |      interrupt number | critical timing in any MS-DOS system. |
  89. |       |               |                       |      (NOT vector)     | The interrupt number in AL can be     |
  90. |       |               |                       | AH = number of ticks  | used to intercept a timer interrupt   |
  91. |       |               |                       |      per second       | that happens (AH) times per second.   |
  92. |       |               |                       | DX = (apx.) number    | DX is essentially 1000/AH. Function   |
  93. |       |               |                       |      of mS / tick     | 16h is the preferred way to install   |
  94. |       |               |                       |                       | timer tick code. AH and DX should     |
  95. |       |               |                       |                       | be accurate for the 16h timer tick.   |
  96. |       |               |                       |                       |                                       |
  97. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  98. |       |               |                       |                       |                                       |
  99. |  08h  | Flush output  | DX = Port number      | None                  | This is used to wait for all output   |
  100. |       |    buffer     |     (NOP if DX=00FFh) |                       | to complete. If flow control is active|
  101. |       |               |                       |                       | it is possible for this code never to |
  102. |       | (wait for all |                       |                       | return control to the caller. (See    |
  103. |       | output to end)|                       |                       | function 0Fh)                         |
  104. |       |               |                       |                       |                                       |
  105. |       |               |                       |                       |                                       |
  106. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  107. |       |               |                       |                       |                                       |
  108. |  09h  | Purge output  | DX = Port number      | None                  | Zero the output buffer. Returns to    |
  109. |       |    buffer     |     (NOP if DX=00FFh) |                       | the caller immediately. Characters    |
  110. |       |               |                       |                       | that have not been transmitted yet    |
  111. |       | (immediately  |                       |                       | are lost.                             |
  112. |       | zero buffer)  |                       |                       |                                       |
  113. |       |               |                       |                       |                                       |
  114. |       |               |                       |                       |                                       |
  115. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  116.  
  117. FOSSIL Function Chart,  Version 5,  February 11,  1988                                                     Page 3
  118. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  119. | Code  |   Function    |  Function Parameters  |  Returned by Function | Explanation                           |
  120. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  121. |       |               |                       |                       |                                       |
  122. |  0Ah  | Purge input   | DX = Port number      | None                  | Zeroes the input buffer. If any flow  |
  123. |       |    buffer     |     (NOP of DX=00FFh) |                       | control restraint has been employed   |
  124. |       |               |                       |                       | (dropping RTS or transmitting XOFF)   |
  125. |       |               |                       |                       | the port will be "released" (by doing |
  126. |       |               |                       |                       | the reverse, raising RTS or sending   |
  127. |       |               |                       |                       | XON). Returns to caller immediately.  |
  128. |       |               |                       |                       |                                       |
  129. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  130. |       |               |                       |                       |                                       |
  131. |  0Bh  | Transmit      | AL = Character        | AX = 0001h if sent    | Character is queued for transmission. |
  132. |       | character     | DX = Port number      |    = 0000h if not     | If there is room in the transmitter   |
  133. |       | ("no wait")   |     (NOP if DX=00FFh) |         sent          | buffer when this call is made, the    |
  134. |       |               |                       |                       | character will be stored and control  |
  135. |       |               |                       |                       | returned to caller with AX=1. If the  |
  136. |       |               |                       |                       | buffer is full, control is returned   |
  137. |       |               |                       |                       | to caller with AX=0. This allows the  |
  138. |       |               |                       |                       | application to make its own decisions |
  139. |       |               |                       |                       | on how to deal with "buffer full".    |
  140. |       |               |                       |                       |                                       |
  141. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  142. |       |               |                       |                       |                                       |
  143. |  0Ch  | "Peek ahead"  | DX = Port number      | AH = 00h              | The next character in the input ring  |
  144. |       | input buffer  |     (NOP if DX=00FFh) | AL = input character  | buffer is returned to the caller. If  |
  145. |       | (non-dest     |                       |      (if available)   | none available, the driver returns a  |
  146. |       | read-ahead)   |                       | AX = FFFFh (if none   | value of FFFFH. This "read" does not  |
  147. |       |               |                       |      (available)      | actually remove a character from the  |
  148. |       |               |                       |                       | input buffer!                         |
  149. |       |               |                       |                       |                                       |
  150. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  151. |       |               |                       |                       |                                       |
  152. |  0Dh  | "Peek ahead"  |  None                 | AX = keyboard char    | The next character in the keyboard    |
  153. |       |  KB buffer    |                       |      (if available)   | buffer is returned to the caller. If  |
  154. |       | (non-dest     |                       | AX = FFFFh (if none   | none available, the driver returns a  |
  155. |       |  read-ahead)  |                       |      available)       | value of FFFFH. This "read" does not  |
  156. |       |               |                       |                       | actually remove a character from the  |
  157. |       |               |                       |                       | input buffer! For function keys, IBM  |
  158. |       |               |                       |                       | PC scan codes must be returned.       |
  159. |       |               |                       |                       |                                       |
  160. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  161. |       |               |                       |                       |                                       |
  162. |  0Eh  | Read Keyboard | None                  | AX = keyboard char    | Return the next character from the    |
  163. |       | (wait if no   |                       |                       | keyboard buffer. Wait for a keystroke |
  164. |       |  char avail)  |                       |                       | if the buffer is empty. For function  |
  165. |       |               |                       |                       | keys, IBM PC scan codes are required. |
  166. |       |               |                       |                       |                                       |
  167. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  168.  
  169. FOSSIL Function Chart,  Version 5,  February 11,  1988                                                     Page 4
  170. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  171. | Code  |   Function    |  Function Parameters  |  Returned by Function | Explanation                           |
  172. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  173. |       |               |                       |                       |                                       |
  174. |  0Fh  | Enable/Disable| AL = Flow control     | None                  | AL[0:0] 1= enables remote to restrain |
  175. |       | com port flow |      bit mask         |                       |   FOSSIL transmitter using XON/XOFF;  |
  176. |       |    control    | DX = Port number      |                       | AL[1:1] 1= enables modem restraint of |
  177. |       |               |     (NOP if DX=00FFh) |                       |   FOSSIL transmitter using CTS and    |
  178. |       |               |                       |                       |   FOSSIL restraint of modem using RTS |
  179. |       |               |                       |                       | AL[3:3] 1= enables FOSSIL to restrain |
  180. |       |               |                       |                       |   remote using XON/XOFF.              |
  181. |       |               |                       |                       |                                       |
  182. |       |               |                       |                       |                                       |
  183. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  184. |       |               |                       |                       |                                       |
  185. |  10h  | Enable/disable| AL = Flags byte       | AX = 0001h - CtlC/K   | AL[0:0] 1 = enable/disable CtlC/CtlK  |
  186. |       |   Ctl-C/Ctl-K | DX = Port number      |        detected since |   check (driver will set internal flag|
  187. |       |   check,      |     (NOP if DX=00FFh) |        last call      |   which is returned by this function  |
  188. |       | Enable/disable|                       |    = 0000h - CtlC/K   |   when it detects a CtlC/CtlK).       |
  189. |       |   transmitter |                       |        not detected   | AL[1:1] 1 = stop transmitter          |
  190. |       |               |                       |        since last     |         0 = release previous stop     |
  191. |       |               |                       |        call           |   This is used primarily for programs |
  192. |       |               |                       |                       |   that can't trust XON/XOFF at FOSSIL |
  193. |       |               |                       |                       |   level (such as BBS software).       |
  194. |       |               |                       |                       |                                       |
  195. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  196. |       |               |                       |                       |                                       |
  197. |  11h  | Set cursor    | DH = Row (0-based)    | None                  | Identical to IBM PC BIOS INT 10h,     |
  198. |       | location      | DL = Col (0-based)    |                       | subfunction 02h. FOSSIL should do     |
  199. |       |               |                       |                       | sanity checks but software should not |
  200. |       |               |                       |                       | assume that that is the case.         |
  201. |       |               |                       |                       |                                       |
  202. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  203. |       |               |                       |                       |                                       |
  204. |  12h  | Read Cursor   | None                  | DH = Row (0-based)    | Identical to IBM PC BIOS INT 10h,     |
  205. |       | Location      |                       | DL = Col (0-based)    | subfunction 03h.                      |
  206. |       |               |                       |                       |                                       |
  207. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  208. |       |               |                       |                       |                                       |
  209. |  13h  | Write char    | AL = Character        | None                  | ANSI processing is a requirement of   |
  210. |       | (ANSI support)|                       |                       | this call. It therefore should not be |
  211. |       |               |                       |                       | considered re-entrant, since DOS      |
  212. |       |               |                       |                       | might be used (via ANSI.SYS)          |
  213. |       |               |                       |                       |                                       |
  214. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  215. |       |               |                       |                       |                                       |
  216. |  14h  | Enable/disable| AL = 01h - Enable     | None                  | FOSSIL will force the system to reboot|
  217. |       | "watchdog"    |            watchdog   |                       | if Carrier Detect on the specified    |
  218. |       |               |    = 00h - Disable    |                       | port drops while "watchdog" is ON.    |
  219. |       |               |            watchdog   |                       |                                       |
  220. |       |               | DX = Port number      |                       | It is not necessary for the port to   |
  221. |       |               |     (NOP if DX=00FFh) |                       | be "active" (Function 04h) for this   |
  222. |       |               |                       |                       | function to be used.                  |
  223. |       |               |                       |                       |                                       |
  224. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  225.  
  226. FOSSIL Function Chart,  Version 5,  February 11,  1988                                                     Page 5
  227. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  228. | Code  |   Function    |  Function Parameters  |  Returned by Function | Explanation                           |
  229. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  230. |       |               |                       |                       |                                       |
  231. |  15h  | Write char    | AL = Character        | None                  | Write character to screen using       |
  232. |       | (re-entrant)  |                       |                       | re-entrant code. ANSI processing may  |
  233. |       |               |                       |                       | not be assumed. This call may be used |
  234. |       |               |                       |                       | by DOS device drivers.                |
  235. |       |               |                       |                       |                                       |
  236. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  237. |       |               |                       |                       |                                       |
  238. |  16h  | Insert/delete | AL = 01h - Insert     | AX = 0000h - operation| Allows FOSSIL to manage timer tick    |
  239. |       | function from |    = 00h - Delete     |      was successful   | chain, which provides some measure of |
  240. |       | timer tick    | ES = Function segment |    = FFFFh - operation| security over just snagging the       |
  241. |       |               | DX = Function offset  |      was unsuccessful | interrupt. Use "insert" instead of    |
  242. |       |               |                       |                       | grabbing the vector and "remove" in   |
  243. |       |               |                       |                       | place of restoring it.                |
  244. |       |               |                       |                       |                                       |
  245. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  246. |       |               |                       |                       |                                       |
  247. |  17h  | Reboot system |  AL = 00h - Cold boot |  None (hopefully!)    | Provides a machine-independent way    |
  248. |       |               |     = 01h - Warm boot |                       | for a "troubled" application to reset |
  249. |       |               |                       |                       | the system. Some machines may not     |
  250. |       |               |                       |                       | support both "flavors" of bootstrap,  |
  251. |       |               |                       |                       | in which case the setting of AL will  |
  252. |       |               |                       |                       | not have any effect.                  |
  253. |       |               |                       |                       |                                       |
  254. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  255. |       |               |                       |                       |                                       |
  256. |  18h  | Read block    | CX = Count            | AX = Number of chars  | Transfer as many characters as are    |
  257. |       |               | ES = Segment of       |      actually moved   | available into the specified user     |
  258. |       |               |      user buffer      |                       | buffer, up to the maximum specified   |
  259. |       |               | DI = Offset of        |                       | in CX. ES and DI will not be modified |
  260. |       |               |      user buffer      |                       | by this call. The actual number of    |
  261. |       |               | DX = Port number      |                       | characters transferred will be in AX. |
  262. |       |               |     (NOP if DX=00FFh) |                       | This function does not wait for more  |
  263. |       |               |                       |                       | characters to become available if the |
  264. |       |               |                       |                       | number in CX exceeds the number of    |
  265. |       |               |                       |                       | characters currently stored.          |
  266. |       |               |                       |                       |                                       |
  267. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  268. |       |               |                       |                       |                                       |
  269. |  19h  | Write block   | CX = Count            | AX = number of chars  | Transfer as many characters as will   |
  270. |       |               | ES = Segment of       |      actually moved   | fit, from the specified user buffer   |
  271. |       |               |      user buffer      |                       | into the output buffer, up to the     |
  272. |       |               | DI = Offset of        |                       | maximum specified in CX. ES and DI    |
  273. |       |               |      user buffer      |                       | will not be modified by this call.    |
  274. |       |               | DX = Port number      |                       | The actual number of characters       |
  275. |       |               |     (NOP if DX=00FFh) |                       | transferred will be in AX.            |
  276. |       |               |                       |                       |                                       |
  277. |       |               |                       |                       |                                       |
  278. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  279.  
  280. FOSSIL Function Chart,  Version 5,  February 11,  1988                                                     Page 6
  281. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  282. | Code  |   Function    |  Function Parameters  |  Returned by Function | Explanation                           |
  283. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  284. |       |               |                       |                       |                                       |
  285. |  1Ah  | Start/stop    | AL = 01h - Start break| None                  | Used for special applications such as |
  286. |       | sending break |      001 - Stop break |                       | certain high speed modems. Resets     |
  287. |       |               | DX = Port number      |                       | all transmit flow control restraints  |
  288. |       |               |     (NOP if DX=00FFh) |                       | (such as an XOFF received from remote)|
  289. |       |               |                       |                       | Init (Function 4) or UnInit (Function |
  290. |       |               |                       |                       | 5) will stop an in-progress Break.    |
  291. |       |               |                       |                       | Note: the application must determine  |
  292. |       |               |                       |                       | the "length" of the BREAK.            |
  293. |       |               |                       |                       |                                       |
  294. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  295. |       |               |                       |                       |                                       |
  296. |  1Bh  | GetDriverInfo | CX = Size of buffer   | AX = Number of bytes  | Offset 0 (word) = Structure size      |
  297. |       |               | ES = Segment of       |      transferred      |        2 (byte) = FOSSIL spec version |
  298. |       |               |      user buffer      |                       |        3 (byte) = Driver rev level    |
  299. |       |               | DI = Offset of        | User buffer contains  |        4 (dwrd) = Pointer to ASCII ID |
  300. |       |               |      user buffer      | info structure (used  |        8 (word) = Input buffer size   |
  301. |       |               | DX = Port number      | to get special data   |       0A (word) = Bytes avail (input) |
  302. |       |               |      (If DX=00FF,     | from the driver)      |       0C (word) = Output buffer size  |
  303. |       |               |      port data will   |                       |       0E (word) = Bytes avail (output)|
  304. |       |               |      not be valid).   |                       |       10 (byte) = Screen width, chars |
  305. |       |               | For port data to be   |                       |       11 (byte) = Screen height, chars|
  306. |       |               | accurate,  port must  |                       |       12 (byte) = Baud rate mask      |
  307. |       |               | be active.            |                       |                   (See call 00h)      |
  308. |       |               |                       |                       |                                       |
  309. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  310.  
  311. FOSSIL Function Chart,  Version 5,  February 11,  1988                                                     Page 7
  312. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  313. | Code  |   Function    |  Function Parameters  |  Returned by Function | Explanation                           |
  314. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  315. |       |               |                       |                       |                                       |
  316. |  7Eh  | Install user  | AL = Appendage code   | AX = 1954h - FOSSIL   | Used to install user appendages into  |
  317. |       | appendage     | ES = Segment of user  |      driver present   | the INT 14h dispatcher.  Appendage    |
  318. |       |               |      appendage entry  |    = Anything but     | codes 80h - BF are supported.  Codes  |
  319. |       |               |      point            |      1954h - FOSSIL   | 80h - 83h are reserved.  The error    |
  320. |       |               | DX = Offset of user   |      driver not       | return,  BH = 00h and AX = 1954h,     |
  321. |       |               |      appendage entry  |      present          | should mean that another appendage    |
  322. |       |               |      point            | BL = Code assigned to | has already been installed with the   |
  323. |       |               |                       |      appendage (same  | code specified in AL.  The appendage  |
  324. |       |               |                       |      as AL at entry)  | will be entered via a far call when-  |
  325. |       |               |                       | BH = 01h - Operation  | ever INT 14h call is made with AL     |
  326. |       |               |                       |      successful       | equal to the appendage code.  The     |
  327. |       |               |                       |    = 00h - Operation  | appendage should return to the INT    |
  328. |       |               |                       |      unsuccessful     | 14h dispatcher via a far return.  The |
  329. |       |               |                       |                       | INT 14h dispatcher should not modify  |
  330. |       |               |                       |                       | any registers prior to making the far |
  331. |       |               |                       |                       | call to the appendage and after the   |
  332. |       |               |                       |                       | appendage returns control to the      |
  333. |       |               |                       |                       | dispatcher.                           |
  334. |       |               |                       |                       |                                       |
  335. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  336. |       |               |                       |                       |                                       |
  337. |  7Fh  | Remove user   | AL = Appendage code   | AX = 1954h            | Used to remove a user appendage that  |
  338. |       | appendage     | ES = Segment of user  | BL = Code assigned to | was installed using function 7Fh. An  |
  339. |       |               |      appendage entry  |      appendage (same  | error return means that either the    |
  340. |       |               |      point            |      as AL at entry)  | entry point specified in ES:DX did    |
  341. |       |               | DX = Offset of user   | BH = 01h - Operation  | not match the entry point currently   |
  342. |       |               |      appendage entry  |      successful       | in the dispatcher table for the code  |
  343. |       |               |      point            |    = 00h - Operation  | given in AL,  or that no entry for    |
  344. |       |               |                       |      unsuccessful     | the code given in AL currently exits. |
  345. |       |               |                       |                       |                                       |
  346. +-------+---------------+-----------------------+-----------------------+---------------------------------------+
  347.  
  348. FOSSIL Function Chart,  Version 5,  February 11,  1988                                                     Page 8
  349.  
  350.  
  351. Please do not distribute modified versions of this chart.   Also,  please do not distribute this chart without
  352. the accompanying FOSSIL.DOC specification.  Please report any errors or suggested changes to Rick Moore at the
  353. address given on the title page of FOSSIL.DOC.
  354.